﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SettingsSortable.ascx.cs" Inherits="RecruitingApplication.Admin.SettingsSortable" %>
<li class="SettingsItem" id="Settings<%= Type %><%= MainID %>">
    <% if (IsSortable)
       { %>
        <div class="SortableHandle ui-widget-content ui-corner-left ui-state-default">
            <span class="ui-icon ui-icon-grip-dotted-vertical"></span>
        </div>
    <% } %>
    <input autocomplete="off" type="text" readonly="readonly" value="<%= InputValue %>" size="50" class="ui-widget-content <% if (IsSortable) { %>ui-corner-right<% } else { %>ui-corner-all<% } %>" />
    <button class="TrashBtn" onclick="return <%= OnDeleteFunction %>(<%= MainID %>);">Delete this item</button>
    <div class="clear"></div>
    <input type="hidden" value="<%= MainID %>" class="HiddenID" />
</li>